The phrase "to keep the shape" means to maintain the proper or original form or structure of something.